package com.yootoo.bsuser.stream.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import com.yootoo.bsuser.config.RabbitConfig;

@Component
@RabbitListener(queues ="*.order.sts.item.change.email")
public class OrderStsChangeReceiver {

	private final Logger logger = LoggerFactory.getLogger(this.getClass());

	@RabbitHandler
	public void emailOperate(String content) {
		logger.info("发送邮件： " + content);
	}
	
}